package com.lzm.enums;

public enum SeckillStatEnum {

    SUCCESS(1,"秒杀成功"),
    NOT_REGISTER(-1, "未注册"),
    END(-2,"秒杀结束"),
    REPEAT_KILL(-3,"重复秒杀"),
    DATE_REWRITE(-4,"数据篡改"),
    DATA_ILLEGAL(-8,"数据异常"),
    INNER_ERROR(-9,"系统异常");

    private int code;
    private String describe;

    SeckillStatEnum(int code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    public int getCode() {
        return code;
    }


    public String getDescribe() {
        return describe;
    }

}
